package com.zhang.sh.service;

import com.zhang.sh.mapper.UserMapper;
import com.zhang.sh.pojo.UserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;

    public UserVO getUserVo(String username){
        return  userMapper.getUserVo(username);
    }
}
